// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
  compatibilityDate: '2024-11-01',
  devtools: { enabled: true },
  devServer: {
    host: "0.0.0.0",
    port: 3001,
  },
  // 配置网站头部信息，包括 logo 和 favicon
  app: {
    head: {
      link: [
        // { rel: "icon", type: "image/x-icon", href: "/logo.ico" }
      ],
    }
  },
  // 定义要全局的 CSS 文件/模块/库，即为每个 CSS 样式表导入
  css: ["~/assets/styles/main.scss", '~/assets/css/iconfont.css', '~/assets/styles/tailwind.css'],
  modules: [
    '@element-plus/nuxt',
    '@pinia/nuxt',
    '@nuxtjs/tailwindcss',
  ]

})